package com.yenlien.traceyun.plant.feign;

import com.yenlien.traceyun.business.interceptor.PassToken;
import com.yenlien.traceyun.plant.controller.vo.PageVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author ChenXi
 * @date 2023/7/4
 */

@FeignClient(value = "traceyun-milk")
public interface ProvideClient {
    @GetMapping("/storage/findByInNumAndPrice")
    public Map<String, Object> findByInNumAndPrice();

    @GetMapping("/storage/findPastureSort")
    public Map<String, Object> findPastureSort(@RequestParam("page") Integer page,@RequestParam("size") Integer size);
}
